const { LoginScripts } = require('./login-scripts');

/**
 * @name 需要自动登录的用户信息
 * @param {String} username 登录人账号
 * @param {String} password 登录人的密码
 */
const USER = {
  username: '337086',
  password: '337086',
};

const HOST = `http://mom2dev.comac.int`;

new LoginScripts({
  USER,
  HOST,
  LOGIN_MAX_COUNT: 5,
  isCaptcha: {
    url: HOST + '/sso-server/getCaptcha',
  },
  LOGIN_CONFIG: {
    url: HOST + '/sso-server/doLogin2',
  },
});
